package com.spt.springbootzhsx.service.suggest.Get_MTMC_mul_UWL_5;

import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Mapper;

import java.io.IOException;

/*
 **@Author:邓少勋
 **Created on 2022-06-10
 */
public class MU_U_Mapper extends Mapper<LongWritable, Text, MUbean, Text> {
        @Override
        protected void map(LongWritable key, Text value, Context context) throws IOException, InterruptedException {
                String[] val =value.toString().split("\t");
                context.write(new MUbean(val[0], 0), new Text(val[1]));
        }
}

